home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 25 / CU Amiga Magazine's Super CD-ROM 25 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-08].iso / CUCD / Programming / QuakeTools / src / libqsys / rawmouse.h < prev   
Encoding:
C/C++ Source or Header  |  1998-06-11  |  402 b   |  20 lines

  1. #ifndef    RAWMOUSE_H
  2. #define    RAWMOUSE_H
  3.  
  4. struct mouseEvent {
  5.   unsigned char pressed;    // -1 if nothing
  6.   short int mouseX, mouseY;    // these are absolute values, not delta-moves
  7. };
  8.  
  9. #define RAWMOUSE_LEFT        0x68
  10. #define RAWMOUSE_RIGHT        0x69
  11. #define RAWMOUSE_MID        0x6A
  12.  
  13. #define    RAWMOUSE_NOTHING    0xFF
  14.  
  15. #define RAWQUAL_MIDBUTTON    0x1000
  16. #define RAWQUAL_RBUTTON        0x2000
  17. #define RAWQUAL_LEFTBUTTON    0x4000
  18.  
  19. #endif
  20.